<!--
  Generated template for the PanDianDetailsPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>
    <ion-navbar>
        <ion-title  style="margin-top: 2rem">盘点详情</ion-title>
    </ion-navbar>
</ion-header>


<ion-content style="background-color: #f1f2f3">
    <div class="container">
        <form action="" class="parent">
            <ion-input type="text" class="search" [(ngModel)]="searchKey.name" [ngModelOptions]="{standalone: true}" placeholder="搜索" (change)="search()"></ion-input>
            <ion-input type="button" name="" id="" class="btn" (click)="search()"></ion-input>
        </form>
    </div>
<!--    <div class="title_layout">
        <div class="divider"></div>
        <span class="item_title">计算机设备盘点</span>
    </div>-->
    <div class="list" *ngFor="let item of propertyDetailList">
        <div class="item">
           <!-- <div class="list-details-header">

                <div>卡片编号:{{item.BianHao}}</div>
            </div>-->
            <p>卡片编号:&nbsp;&nbsp;{{item.ZiChanKP}}</p>
            <p>资产名称:&nbsp;&nbsp;{{item.ZiChanMC}}</p>
            <p>规格型号:&nbsp;&nbsp;{{item.GuiGeXH}}</p>
            <p>管理部门:&nbsp;&nbsp;{{item.GuanLiBM}}</p>
            <div class="list-details-num">
                <div>账存数量:&nbsp;&nbsp;{{item.ShuLiang}}</div>
                <div class="shicun_sum">
                    <span>实存数量:</span>
                    <div class="panel_num">
                        <div class="minus" (click)="minus(item)"><label>-</label></div>
                        <div class="text"><label>{{item.ShiCunSL}}</label></div>
                        <div class="add"><label>+</label></div>
                    </div>
                </div>
            </div>
        </div>
        <!--{{item.ShiCunSL}}-->
    </div>

    <div class="buttonDiv">
        <button ion-button (click)="save('SAVE')">保存</button>
        <button ion-button (click)="scanCode()">扫码</button>
        <button ion-button (click)="sure('SUBMIT')">盘点完成</button>
    </div>
</ion-content>
